package lab02.test04;

/**
 * Created by Lenovo on 2017/10/15.
 */
public class Worker {
    //属性：员工姓名、员工号码、员工基本薪水、员工薪水增长额、增长后工资总额
String name;
int number;
double salary;
double Salarygrowth;
double pay;
    //行为

    public int getNumber() {
        return number;
    }

    public String getName() {
        return name;
    }
    double salarygrowth(int salary){
    double salarygrowth = salary * 1.5;
    return salarygrowth;
    }
    //构造函数
    //main函数
}
